Page({
  data: {
    products: [
      {
        id: 1,
        name: '一加 Ace 3 Pro 5G电竞游戏手机',
        price: 3199,
        image: "https://img13.360buyimg.com/n7/jfs/t1/42464/22/25561/64081/66c31058F1b4aeeac/124ac102932c5e9b.jpg.avif",
        produce:'5万+条评价  30天种草飙升5倍',
        produce1:'一加手机自营官方  进店》'
      },
      {
        id: 2,
        name: '一加Ace 3V 新品手机 5G全网通 第三代骁龙7 ',
        price: 1899,
        image: "https://img14.360buyimg.com/n7/jfs/t1/16347/6/23425/53766/66bf1572F356b8013/a08a6fe598df857f.jpg.avif",
        produce:'100+条评价',
        produce1:'一加同步专卖店  进店》'
      },
      {
        id: 3,
        name: '一加Ace3 Pro 新品手机 5G全网通 第三代骁龙8 ',
        price: 2899,
        image: "https://img12.360buyimg.com/n7/jfs/t1/236870/27/18150/44243/66825f37F41de5dec/5f4f060e2237bc2c.png.avif",
        produce:'200+条评价   15天加购飙升5倍',
        produce1:'锦新数码买手店   进店》'
      },
      {
        id: 4,
        name: '一加 Ace 3 5G电竞游戏手机',
        price: 2499,
        image: "https://img11.360buyimg.com/n7/jfs/t1/106335/38/49990/62560/66bf1760Fa358b191/fb875aaf71477268.jpg.avif",
        produce:'200+条评价 ',
        produce1:'一加官方旗舰店 进店》'
      },
      {
        id: 5,
        name: '一加Ace3Pro 8Gen3 12GB256GB 钛空镜银 ',
        price: 3199,
        image: "https://img10.360buyimg.com/n1/s450x450_jfs/t1/74006/28/28076/111542/66bf14dbFf194c13c/60e1de25a94b7bd1.jpg.avif",
        produce:'200+条评价 20万+人种草',
        produce1:'一加官方旗舰店 进店》'
      }
      // 可以继续添加更多商品
    ]
  },
  onProductClick: function (event) {
    const url = event.currentTarget.dataset.url;
    wx.navigateTo({
      url: url
    });
  }
});
